package gui.小练习.打字游戏;

/**
 * @Package gui.小练习.打字游戏
 * @Author shimmer
 * @Date 2020/8/8 9:24
 * @TODO
 */
public class BulletInfo {
    int bulletX;
    int bulletY;
    EnemyInfo enemy;
    boolean alive=true;

    public void setEnemy(EnemyInfo enemy) {
        this.enemy = enemy;
    }

    public void setBulletX(int bulletX) {
        this.bulletX = bulletX;
    }

    public void setBulletY(int bulletY) {
        this.bulletY = bulletY;
    }

    public int getBulletX() {
        return bulletX;
    }

    public int getBulletY() {
        return bulletY;
    }

    public EnemyInfo getEnemy() {
        return enemy;
    }

    public void setAlive(boolean alive) {
        this.alive=alive;
    }

    public boolean isAlive() {
        return alive;
    }
}
